package com.stress.testing.plugin.es.strategy;

import org.elasticsearch.action.search.SearchRequest;

public class SearchRequestIndexRenameStrategy extends AbstractRequestIndexRenameStrategy {
    @Override
    public void renameIndex(Object arg) {
        SearchRequest request = (SearchRequest) arg;
        request.indices(internalRenameIndex(request.indices()));
    }
}